
if(WINDOWS AND BUILD_SHARED_LIBS)
    add_definitions(-D_USRSTUDIODLL)
endif()

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ")

set(COCOS_CS_HEADER

    editor-support/cocostudio/CCProcessBase.h
    editor-support/cocostudio/TriggerMng.h
    editor-support/cocostudio/CCDataReaderHelper.h
    editor-support/cocostudio/CCDisplayManager.h
    editor-support/cocostudio/CCComAttribute.h
    editor-support/cocostudio/CCArmatureDefine.h
    editor-support/cocostudio/CCUtilMath.h
    editor-support/cocostudio/CCInputDelegate.h
    editor-support/cocostudio/CCDecorativeDisplay.h
    editor-support/cocostudio/CCActionManagerEx.h
    editor-support/cocostudio/ActionTimeline/CCTimelineMacro.h
    editor-support/cocostudio/ActionTimeline/CCSkeletonNode.h
    editor-support/cocostudio/ActionTimeline/CCFrame.h
    editor-support/cocostudio/ActionTimeline/CCActionTimeline.h
    editor-support/cocostudio/ActionTimeline/CCActionTimelineNode.h
    editor-support/cocostudio/ActionTimeline/CCBoneNode.h
    editor-support/cocostudio/ActionTimeline/CCTimeLine.h
    editor-support/cocostudio/ActionTimeline/CSLoader.h
    editor-support/cocostudio/ActionTimeline/CCActionTimelineCache.h
    editor-support/cocostudio/ActionTimeline/CCSkinNode.h
    editor-support/cocostudio/CocosStudioExtension.h
    editor-support/cocostudio/CCTransformHelp.h
    editor-support/cocostudio/CocoStudio.h
    editor-support/cocostudio/CCBatchNode.h
    editor-support/cocostudio/CCActionFrame.h
    editor-support/cocostudio/FlatBuffersSerialize.h
    editor-support/cocostudio/CCComRender.h
    editor-support/cocostudio/CSLanguageDataBinary_generated.h
    editor-support/cocostudio/CCSpriteFrameCacheHelper.h
    editor-support/cocostudio/CCBone.h
    editor-support/cocostudio/CocosStudioExport.h
    editor-support/cocostudio/CCArmatureAnimation.h
    editor-support/cocostudio/CCActionFrameEasing.h
    editor-support/cocostudio/CCTween.h
    editor-support/cocostudio/CCActionNode.h
    editor-support/cocostudio/CSParse3DBinary_generated.h
    editor-support/cocostudio/DictionaryHelper.h
    editor-support/cocostudio/CSParseBinary_generated.h
    editor-support/cocostudio/CCComBase.h
    editor-support/cocostudio/WidgetCallBackHandlerProtocol.h
    editor-support/cocostudio/WidgetReader/ArmatureNodeReader/ArmatureNodeReader.h
    editor-support/cocostudio/WidgetReader/ArmatureNodeReader/CSArmatureNode_generated.h
    editor-support/cocostudio/WidgetReader/ProjectNodeReader/ProjectNodeReader.h
    editor-support/cocostudio/WidgetReader/GameNode3DReader/GameNode3DReader.h
    editor-support/cocostudio/WidgetReader/ListViewReader/ListViewReader.h
    editor-support/cocostudio/WidgetReader/GameMapReader/GameMapReader.h
    editor-support/cocostudio/WidgetReader/UserCameraReader/UserCameraReader.h
    editor-support/cocostudio/WidgetReader/LoadingBarReader/LoadingBarReader.h
    editor-support/cocostudio/WidgetReader/SpriteReader/SpriteReader.h
    editor-support/cocostudio/WidgetReader/TextAtlasReader/TextAtlasReader.h
    editor-support/cocostudio/WidgetReader/Node3DReader/Node3DReader.h
    editor-support/cocostudio/WidgetReader/WidgetReaderProtocol.h
    editor-support/cocostudio/WidgetReader/ButtonReader/ButtonReader.h
    editor-support/cocostudio/WidgetReader/Light3DReader/Light3DReader.h
    editor-support/cocostudio/WidgetReader/TabControlReader/TabControlReader.h
    editor-support/cocostudio/WidgetReader/TabControlReader/CSTabControl_generated.h
    editor-support/cocostudio/WidgetReader/TextReader/TextReader.h
    editor-support/cocostudio/WidgetReader/WidgetReader.h
    editor-support/cocostudio/WidgetReader/PageViewReader/PageViewReader.h
    editor-support/cocostudio/WidgetReader/NodeReader/NodeReader.h
    editor-support/cocostudio/WidgetReader/ImageViewReader/ImageViewReader.h
    editor-support/cocostudio/WidgetReader/LayoutReader/LayoutReader.h
    editor-support/cocostudio/WidgetReader/SingleNodeReader/SingleNodeReader.h
    editor-support/cocostudio/WidgetReader/NodeReaderDefine.h
    editor-support/cocostudio/WidgetReader/TextBMFontReader/TextBMFontReader.h
    editor-support/cocostudio/WidgetReader/CheckBoxReader/CheckBoxReader.h
    editor-support/cocostudio/WidgetReader/Sprite3DReader/Sprite3DReader.h
    editor-support/cocostudio/WidgetReader/SliderReader/SliderReader.h
    editor-support/cocostudio/WidgetReader/ComAudioReader/ComAudioReader.h
    editor-support/cocostudio/WidgetReader/ParticleReader/ParticleReader.h
    editor-support/cocostudio/WidgetReader/Particle3DReader/Particle3DReader.h
    editor-support/cocostudio/WidgetReader/SkeletonReader/CSBoneBinary_generated.h
    editor-support/cocostudio/WidgetReader/SkeletonReader/SkeletonNodeReader.h
    editor-support/cocostudio/WidgetReader/SkeletonReader/BoneNodeReader.h
    editor-support/cocostudio/WidgetReader/ScrollViewReader/ScrollViewReader.h
    editor-support/cocostudio/WidgetReader/TextFieldReader/TextFieldReader.h
    editor-support/cocostudio/WidgetReader/NodeReaderProtocol.h
    editor-support/cocostudio/CCComAudio.h
    editor-support/cocostudio/CCDisplayFactory.h
    editor-support/cocostudio/CCArmature.h
    editor-support/cocostudio/CCArmatureDataManager.h
    editor-support/cocostudio/CCDatas.h
    editor-support/cocostudio/CCComExtensionData.h
    editor-support/cocostudio/CCComController.h
    editor-support/cocostudio/TriggerObj.h
    editor-support/cocostudio/CocoLoader.h
    editor-support/cocostudio/CCColliderDetector.h
    editor-support/cocostudio/LocalizationManager.h
    editor-support/cocostudio/CCActionObject.h
    editor-support/cocostudio/TriggerBase.h
    editor-support/cocostudio/CCSSceneReader.h
    editor-support/cocostudio/CCSGUIReader.h
    editor-support/cocostudio/CCSkin.h
    )

set(COCOS_CS_SRC

    editor-support/cocostudio/CCActionFrame.cpp
    editor-support/cocostudio/CCActionFrameEasing.cpp
    editor-support/cocostudio/CCActionManagerEx.cpp
    editor-support/cocostudio/CCActionNode.cpp
    editor-support/cocostudio/CCActionObject.cpp
    editor-support/cocostudio/CCArmature.cpp
    editor-support/cocostudio/CCArmatureAnimation.cpp
    editor-support/cocostudio/CCArmatureDataManager.cpp
    editor-support/cocostudio/CCArmatureDefine.cpp
    editor-support/cocostudio/CCBatchNode.cpp
    editor-support/cocostudio/CCBone.cpp
    editor-support/cocostudio/CCColliderDetector.cpp
    editor-support/cocostudio/CCComAttribute.cpp
    editor-support/cocostudio/CCComAudio.cpp
    editor-support/cocostudio/CCComController.cpp
    editor-support/cocostudio/CCComRender.cpp
    editor-support/cocostudio/CCDataReaderHelper.cpp
    editor-support/cocostudio/CCDatas.cpp
    editor-support/cocostudio/CCDecorativeDisplay.cpp
    editor-support/cocostudio/CCDisplayFactory.cpp
    editor-support/cocostudio/CCDisplayManager.cpp
    editor-support/cocostudio/CCInputDelegate.cpp
    editor-support/cocostudio/CCProcessBase.cpp
    editor-support/cocostudio/CCSGUIReader.cpp
    editor-support/cocostudio/CCSSceneReader.cpp
    editor-support/cocostudio/CCSkin.cpp
    editor-support/cocostudio/CCSpriteFrameCacheHelper.cpp
    editor-support/cocostudio/CCTransformHelp.cpp
    editor-support/cocostudio/CCTween.cpp
    editor-support/cocostudio/CCUtilMath.cpp
    editor-support/cocostudio/CocoLoader.cpp
    editor-support/cocostudio/DictionaryHelper.cpp
    editor-support/cocostudio/LocalizationManager.cpp
    editor-support/cocostudio/TriggerBase.cpp
    editor-support/cocostudio/TriggerMng.cpp
    editor-support/cocostudio/TriggerObj.cpp
    editor-support/cocostudio/FlatBuffersSerialize.cpp
    editor-support/cocostudio/CCComExtensionData.cpp
    editor-support/cocostudio/CocoStudio.cpp
    editor-support/cocostudio/WidgetCallBackHandlerProtocol.cpp
    editor-support/cocostudio/WidgetReader/NodeReader/NodeReader.cpp
    editor-support/cocostudio/WidgetReader/SingleNodeReader/SingleNodeReader.cpp
    editor-support/cocostudio/WidgetReader/SpriteReader/SpriteReader.cpp
    editor-support/cocostudio/WidgetReader/ParticleReader/ParticleReader.cpp
    editor-support/cocostudio/WidgetReader/GameMapReader/GameMapReader.cpp
    editor-support/cocostudio/WidgetReader/ProjectNodeReader/ProjectNodeReader.cpp
    editor-support/cocostudio/WidgetReader/ComAudioReader/ComAudioReader.cpp
    editor-support/cocostudio/WidgetReader/WidgetReader.cpp
    editor-support/cocostudio/WidgetReader/LoadingBarReader/LoadingBarReader.cpp
    editor-support/cocostudio/WidgetReader/ListViewReader/ListViewReader.cpp
    editor-support/cocostudio/WidgetReader/TextFieldReader/TextFieldReader.cpp
    editor-support/cocostudio/WidgetReader/WidgetReader.cpp
    editor-support/cocostudio/WidgetReader/CheckBoxReader/CheckBoxReader.cpp
    editor-support/cocostudio/WidgetReader/SliderReader/SliderReader.cpp
    editor-support/cocostudio/WidgetReader/PageViewReader/PageViewReader.cpp
    editor-support/cocostudio/WidgetReader/TextReader/TextReader.cpp
    editor-support/cocostudio/WidgetReader/Node3DReader/Node3DReader.cpp
    editor-support/cocostudio/WidgetReader/UserCameraReader/UserCameraReader.cpp
    editor-support/cocostudio/WidgetReader/Particle3DReader/Particle3DReader.cpp
    editor-support/cocostudio/WidgetReader/Sprite3DReader/Sprite3DReader.cpp
    editor-support/cocostudio/WidgetReader/SkeletonReader/BoneNodeReader.cpp
    editor-support/cocostudio/WidgetReader/SkeletonReader/SkeletonNodeReader.cpp
    editor-support/cocostudio/WidgetReader/TextAtlasReader/TextAtlasReader.cpp
    editor-support/cocostudio/WidgetReader/LayoutReader/LayoutReader.cpp
    editor-support/cocostudio/WidgetReader/TextBMFontReader/TextBMFontReader.cpp
    editor-support/cocostudio/WidgetReader/ImageViewReader/ImageViewReader.cpp
    editor-support/cocostudio/WidgetReader/ButtonReader/ButtonReader.cpp
    editor-support/cocostudio/WidgetReader/ScrollViewReader/ScrollViewReader.cpp
    editor-support/cocostudio/WidgetReader/GameNode3DReader/GameNode3DReader.cpp
    editor-support/cocostudio/WidgetReader/Light3DReader/Light3DReader.cpp
    editor-support/cocostudio/ActionTimeline/CCActionTimelineCache.cpp
    editor-support/cocostudio/ActionTimeline/CCActionTimeline.cpp
    editor-support/cocostudio/ActionTimeline/CCActionTimelineNode.cpp
    editor-support/cocostudio/ActionTimeline/CCFrame.cpp
    editor-support/cocostudio/ActionTimeline/CCTimeLine.cpp
    editor-support/cocostudio/ActionTimeline/CSLoader.cpp
    editor-support/cocostudio/ActionTimeline/CCBoneNode.cpp
    editor-support/cocostudio/ActionTimeline/CCSkeletonNode.cpp
    editor-support/cocostudio/ActionTimeline/CCSkinNode.cpp
    editor-support/cocostudio/FlatBuffersSerialize.cpp
    editor-support/cocostudio/WidgetReader/ArmatureNodeReader/ArmatureNodeReader.cpp
    editor-support/cocostudio/WidgetReader/TabControlReader/TabControlReader.cpp
    )
